<header class="header">
    <div class="top grid">
        <div class="g-col logo">简点 · 商户服务平台</div>
        <div class="rightbox">
            <a href="/store/adminInfo" title="查看商户资料">{{vm.adminUser.account}}</a>
            <span class="glyphicon glyphicon-triangle-bottom" id="shopListBtn">
                        <div style="display:none" id="shopList">
                                <ul>
                                    <li id="0" ng-show="vm.shopList.length>1" data-shopName="总店">总店</li>
                                    <li ng-repeat="shop in vm.shopList" ng-click="vm.shopListClick(shop.shopId,shop.shopName)">{{shop.shopName}}</li>
                                </ul>
                        </div>
                </span>
            <span id="shopName"></span>
            <a href="/store/noticeList" class="volume glyphicon glyphicon-volume-up"><sup>0</sup></a>
            <a href="/store/adminPwdManage">【修改密码】</a>
            <a href="/store/logout" class="logout">【退出】</a>
        </div>
    </div>
    <div class="accountname text-center"><a href="/store/adminInfo">{{vm.adminUser.appName}}</a></div>
</header>
<section class="grid">
    <ul class="nav nav-pills nav-stacked mlist">
        <li ng-repeat="menu in vm.cmenu" ng-init="i=$index">
            <a href="{{menu.url}}" ng-click="vm.mlistClick($event)" >
                <span class="icon icon{{i}}"></span>{{menu.name}}
            </a>
            <ul class="nav nav-pills nav-stacked menuul">
                <li ng-repeat="menu in menu.menu">
                    <a href="{{menu.url}}">
                        <img src="{{menu.imgUrl}}" style="margin-bottom:5px;width: 60px;height: 60px;">
                        <p>{{menu.name}}</p>
                    </a>
                </li>
            </ul>
        </li>
    </ul>
    <article class="g-col container" ui-view>

    </article>
</section>
<footer class="text-center">
    <p>中国 · 福建 · 福州 · 铁道大厦4楼417-419</p>
    <p>
        <span>中兴瑞恒官网</span>
        <span>反馈邮箱：market@zxrhw.com‍</span>
        <span>合作热线：0591-83801981</span>
    </p>
    <p>©zxrhw 2013-2016 闽ICP备17016715号</p>
</footer>

<script id="winAlert_tmpl" type="text/html">
    <div class="winAlert grid middle">
        <div class="panel panel-window">
            <div class="panel-heading">{{msg.title}}<span class="close"></span></div>
            <div class="panel-body">
                {{#msg.body}}
            </div>
            <div class="panel-body" style="padding-top:0">
                <div class="btnbox grid middle">
                    {{if msg.cancel}}<div class="btn gn_btn gray_btn cancel">{{msg.cancel}}</div>{{/if}}
                    {{if !msg.nobtn}}<div class="btn gn_btn sure">{{msg.btn}}</div>{{/if}}
                </div>
            </div>
        </div>
        <div class="mark{{if !msg.maskShow}} none{{/if}}"></div>
    </div>
</script>
